/**
 * @description 问卷信息组件
 * @author 大肘子
 */

import React,{FC} from "react";
import style from './index.module.scss'

type QuestionInfoType = {
    fe_id:string,
    props:{
        title: string,
        placeholder: string
    }

}

const QuestionInfo:FC<QuestionInfoType> = ({fe_id,props})=>{
    const {title,placeholder} = props
    return <>
        <p className={style.title}>{title}</p>
        <div className={style.question}>
            <p>{placeholder}</p>
        </div>
    </>
}

export default QuestionInfo